package mapbuilder;



public class roomGraper {

	public void build() {
		char theRoom[]= new char[10];
		char map[][]=grapRoomData((int)(Math.random()*10));

		
		
		}
		
		
	
	
	public static char[][] grapRoomData(int i)  //grabs room data form file
	{
		int Counter=10;
		int Counterd=Counter;
		char outPut[][]=new char [10][];
		String theMapLayout[]=new String [Counter];
	TextIO.readFile(i+".txt");
	  while (Counterd>0){
	  char lnOutPut[]=theMapLayout[Counter-Counterd].toCharArray();
	  outPut[Counter-Counterd]=lnOutPut;
	  
	Counterd--;
	  }
	return outPut; 
	}
}
